<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

/**
 * Class ProjectManagement
 */
class BDSProject extends Module
{
	/**
	 * Template
	 * @var string
	 */
	protected $strTemplate = 'mod_bds_project';


	/**
	 * Display a wildcard in the back end
	 * @return string
	 */
	public function generate()
	{
		return parent::generate();
	}


	/**
	 * Generate module
	 */
	protected function compile()
	{
			$objProject  =$this->Database->prepare("SELECT * FROM tl_project WHERE status=1 AND published=1 ORDER BY id");
			$objProject = $objProject->execute();
			$arrProject = $objProject->fetchAllAssoc();
			$this->Template->arrProject = $arrProject;
	}
}
?>